import Vue from 'vue'
import Vuex from 'vuex'
import App from './App.vue'
import router from './router'
// 引入 ui 库
import ElementUI from 'element-ui';
// 引入 css
import 'element-ui/lib/theme-chalk/index.css';
//注册组件库

Vue.use(Vuex)
const store=new Vuex.Store({
  state: {
    count:2
  }
})
Vue.use(ElementUI);
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
